QT += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TEMPLATE = app

BIN_NAME = desktop-integrity-checker

TARGET = $${BIN_NAME}

VERSION = 0.1.0

SOURCES += \
    main.cpp \
    utils.cpp \
    translator.cpp \
    sources.cpp \
    sourcesdata.cpp \
    mainwindow.cpp

HEADERS += \
    colors.h \
    loghandler.h \
    utils.h \
    translator.h \
    sources.h \
    sourcesdata.h \
    mainwindow.h

FORMS += \
    mainwindow.ui

TRANSLATIONS += \
    desktop-integrity-checker_zh_CN.ts

CONFIG += lrelease
CONFIG += embed_translations

### Update Defines
DEFINES += APP_VERSION=\"\\\"$${VERSION}\"\\\"
DEFINES += APP_BIN_NAME=\"\\\"$${TARGET}\"\\\"
DEFINES += APP_QM_NAME=\"\\\"$${BIN_NAME}\"\\\"

### Use Global Build Settings
include(build-env.pri)

# Default rules for deployment.
include(deployment.pri)
